<template>
    <div class="header">
{{ title }}
    </div>
</template>

<script setup>
import { defineProps } from 'vue';
const props = defineProps({
    title: { type: String,
        required: true
     }
})

</script>

<style scoped>
.header{
    width:100%;
    height:50px;
    background-color: pink;
    color: white;
    height: 40px;
    line-height: 40px;
    text-align: center;
}
</style>